package io.finer.erp.jeecg.finance.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 付款表
 * @Author: jeecg-boot
 * @Date:   2021-03-22
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fina_payment对象", description="付款表")
public class FinaPaymentDto implements Serializable {



	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private String supplierName;
	/**供应商id*/
	@Excel(name = "供应商id", width = 15)
    @ApiModelProperty(value = "供应商id")
    private String supplierId;
	/**账单类型*/
	@Excel(name = "账单类型", width = 15)
    @ApiModelProperty(value = "账单类型")
    private String billType;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal price;
    /**应付总额*/
    @Excel(name = "应付总额", width = 15)
    @ApiModelProperty(value = "应付总额")
    private BigDecimal dues;
    /**已付总额*/
    @Excel(name = "已付总额", width = 15)
    @ApiModelProperty(value = "已付总额")
    private BigDecimal paids;
    /**客户余额*/
    @Excel(name = "客户余额", width = 15)
    @ApiModelProperty(value = "余额")
    private BigDecimal balance;
    /**是否开票*/
    @Excel(name = "是否开票", width = 15)
    @ApiModelProperty(value = "是否开票")
    @Dict(dicCode = "isBill")
    private BigDecimal isBill;
    /**开票金额*/
    @Excel(name = "开票金额", width = 15)
    @ApiModelProperty(value = "开票金额")
    private BigDecimal invoicePrice;
    /**未开票金额*/
    @Excel(name = "未开票金额", width = 15)
    @ApiModelProperty(value = "未开票金额")
    private BigDecimal noneInvoicePrice;

    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;



    private String createTimeStart;

    private String createTimeEnd;
}
